package cn.gbase.jiangsu.data.transfer.bean;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

/**
 * 商品销售属性.
 */
@Table("product_sell_field")
public class ProductSellField extends BaseDto {

	@Id
	@Column
	private int id;

	/**
	 * 商品ID.
	 */
	@Column("product_id")
	private int productId;

	/**
	 * 属性名称.
	 */
	@Column("field_name")
	private String fieldName;

	/**
	 * 属性值.
	 */
	@Column("field_value")
	private String fieldValue;

	/**
	 * 库存数.
	 */
	@Column("stock_number")
	private int stockNumber;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getProductId() {
		return productId;
	}

	public void setProductId(int productId) {
		this.productId = productId;
	}

	public String getFieldName() {
		return fieldName;
	}

	public void setFieldName(String fieldName) {
		this.fieldName = fieldName;
	}

	public String getFieldValue() {
		return fieldValue;
	}

	public void setFieldValue(String fieldValue) {
		this.fieldValue = fieldValue;
	}

	public int getStockNumber() {
		return stockNumber;
	}

	public void setStockNumber(int stockNumber) {
		this.stockNumber = stockNumber;
	}

}